var utils = {};
utils.validateEmpty = function(selector){
    let element = document.querySelector(selector);
    let val = element.value.trim();
    return val.length === 0;
}